package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.Personal;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface PersonalRepository extends MongoRepository<Personal,String> {

    Personal findByUserId(String userId);

}
